package com.study.springbootgit.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/v1")
public class HomeController {


    @GetMapping("/home/index")
    public String toIndex(){

        return "冲到一是弟弟";
    }


    @GetMapping("/home/intro")
    public String intro(){
        return "第三组组长宋建到此一游";
    }
}
